﻿<ad:DocumentContent x:Class="ReflectionStudio.Components.UserControls.SnapshotViewDocument"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:ad="clr-namespace:AvalonDock;assembly=AvalonDock"
    xmlns:Controls="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"
    xmlns:Panels="clr-namespace:ReflectionStudio.Components.UserControls"
    >
    <Grid Margin="5">
        <Grid.RowDefinitions>
            <RowDefinition Height="60" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        <Controls:StandaloneHeader Grid.ColumnSpan="2" Title="{Binding Title, RelativeSource={RelativeSource FindAncestor,AncestorType={x:Type ad:DocumentContent}}}" 
            Image="/ReflectionStudio;component/Resources/Images/32x32/snapshot.png" 
            Description="Analyse the current snapshot with the help of several view, generate the charts and associated reports" />
        <Panels:GridView Grid.Row="1" x:Name="PanelGrid" Visibility="Visible"></Panels:GridView>
        <Panels:VisualView Grid.Row="1" x:Name="PanelVisual" Visibility="Hidden"></Panels:VisualView>
    </Grid>
</ad:DocumentContent>
